package com.liuliu.datapooldemo.mapper;


import com.liuliu.datapooldemo.entity.DataPoolEntity;
import com.liuliu.datapooldemo.entity.OaDataEntity;
import com.liuliu.datapooldemo.entity.XinxinDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lwh
 * @description:
 * @date 2024/5/9 15:13
 */
@Mapper
public interface DataPoolMapper {

    List<DataPoolEntity> getAll();

    void insertXinDataList(@Param("xinxinDataEntityList")List<XinxinDataEntity> xinxinDataEntityList);

    void insertXinDataList22(@Param("xinxinDataEntityList")List<XinxinDataEntity> xinxinDataEntityList);

   void insertXinDataListAll(@Param("xinxinDataEntityList")List<XinxinDataEntity> xinxinDataEntityList);


    List<XinxinDataEntity> getAllDmd();

    XinxinDataEntity getSelectSy(@Param("xinxinDataEntity") XinxinDataEntity xinxinDataEntity);

    void deleteSy(@Param("id")String id);

    void updateDmd(@Param("id")String id,@Param("one") String one,@Param("two") String two);

    List<XinxinDataEntity> getAllDwd();

    List<XinxinDataEntity> getAllWfl();
    List<XinxinDataEntity> getAllWfl1();
    List<XinxinDataEntity> getAllWfl2();

    void updateDwd(@Param("id")String id,@Param("one") String one,@Param("two") String two);

    void updateWfl(@Param("id")String id,@Param("one") String one,@Param("two") String two);

    List<XinxinDataEntity> getAllSy();

    List<OaDataEntity> getAllSyOa();

    void updateOA(@Param("id")String id);


    List<OaDataEntity> getAllSyTask();

    void updateTask(@Param("id")String id);
}
